package com.itheima.service;

import com.itheima.po.InsertStudent;
import com.itheima.po.StudentPageParam;
import com.itheima.po.UpdateStudent;
import com.itheima.pojo.Result;

import java.util.List;

public interface StudentService {
    Result selectStudent(StudentPageParam param);

    Result insertStudent(InsertStudent student);

    Result deleteStudentByIds(List<Integer> ids);

    Result selectStudentById(Integer id);

    Result updateStudent(UpdateStudent student);

    Result violation(Integer id, Integer score);
}
